home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / plybttns.hqx / Polybuttons / card_4280.txt < prev    next >
Encoding:
Text File  |  1990-09-30  |  1.5 KB  |  66 lines

  1. -- card: 4280 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2588
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0007
  11. -- rect: left=33 top=120 right=168 bottom=485
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 4
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 12
  19. -- part name: 
  20.  
  21.  
  22. -- part 3 (field)
  23. -- low flags: 00
  24. -- high flags: 0007
  25. -- rect: left=33 top=191 right=239 bottom=485
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 4
  30. -- text size: 9
  31. -- style flags: 0
  32. -- line height: 12
  33. -- part name: 
  34.  
  35.  
  36. -- part contents for card part 1
  37. ----- text -----
  38. on mouseDown
  39.   if polybutton(the script of this card) is "pass" then pass mouseDown
  40. end mouseDown
  41.  
  42. -- part contents for card part 3
  43. ----- text -----
  44. on mouseDown
  45.   if polybutton(the script of this bg) is "pass" then pass mouseDown
  46. end mouseDown
  47.  
  48. -- part contents for background part 26
  49. ----- text -----
  50. You'll probably want to copy the "polybutton" XFCN to any stack that uses it.  Polybutton does not use any of the other resources found in this stack:  they are strictly for the benefit of polyedit.
  51. You can have card polybuttons and background polybuttons.
  52. Any card that has card polybuttons on it must have this handler in its script:
  53.  
  54.  
  55.  
  56.  
  57. Any background that has polybuttons needs a similar handler:
  58.  
  59.  
  60.  
  61.  
  62. PolyEdit does not add these handlers for you; you must type them in.
  63.  
  64. -- part contents for background part 27
  65. ----- text -----
  66. Card 4 of 10